Skip to content

Apply full IFC swept-solid placements on import - #61

Merged
mahach666 merged 1 commit into
mainfrom
fix/swept-solid-placements
Nov 24, 2026
Merged

mahach666 merged 1 commit into
mainfrom
fix/swept-solid-placements

Conversation

@mahach666

Copy link
Copy Markdown
Contributor

Closes #15.

  • Apply 2D profile and 3D solid placements before the object placement chain for inclined extrusions, revolutions and supported Boolean operands.
  • Re-export the complete placed body instead of preferring an inaccurate local solid. Split disconnected closed IFC2x3 shells and write open meshes as surfaces. Read IFC4 triangle and point lists, including PnIndex, so tessellated export reopens.
  • Reject incomplete or compound Boolean exports that would silently drop operands or emit #0. Nested Boolean trees and polygonal bounded half-spaces are tracked in Boolean results: nested operands and IfcPolygonalBoundedHalfSpace are lost on import #22.

Verification: 330 Release tests passed with the public Duplex_A sample enabled. Native-core scene adapter builds for .NET 8 and 10. Independent IfcOpenShell geometry check confirmed equal world bounds for a placed pipe and a clipped beam before and after IFC2x3/IFC4 export.

Sweep in the profile and solid frames before applying product placement. Preserve placed geometry on IFC export, distinguish open surfaces from connected closed shells, and reject incomplete Boolean operands rather than emitting invalid STEP references.
@mahach666
mahach666 merged commit f634f42 into main Nov 24, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Import ignores ObjectPlacement and the rotation of solid placements

1 participant